<template>
  <div id="vue_det">
    <h1>site : {{site}}</h1>
    <h1>url : {{url}}</h1>
<!--    <h1>{{details()}}</h1>-->
  </div>
</template>>
<script>
  export default {

    data () {
      return {
        site: '菜鸟教程',
        url: 'www.runoob.com',
        alexa: '10000'
      }
    },
    methods: {
      details () {
        this.site = '学的不仅是更是梦想'
      }
    }
  }
</script>
